package com.ruoyi.sl.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报工项扣款对象 sl_dm
 * 
 * @author admin
 * @date 2024-07-05
 */
public class SlDm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long dmId;

    /** 报工项ID */
    @Excel(name = "报工项ID")
    private Long rworkId;

    /** 关联人 */
    @Excel(name = "关联人")
    private String memberUser;

    /** 关联人昵称 */
    @Excel(name = "关联人昵称")
    private String memberNick;

    /** 扣款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "扣款时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date dmTime;

    /** 扣款人 */
    @Excel(name = "扣款人")
    private String dmUser;

    /** 扣款人昵称 */
    @Excel(name = "扣款人昵称")
    private String dmNick;

    /** 扣款金额 */
    @Excel(name = "扣款金额")
    private BigDecimal dmAmount;

    /** 报工单ID */
    @Excel(name = "报工单ID")
    private Long rfworkId;

    /** 扣款原因 */
    @Excel(name = "扣款原因")
    private String dmReason;

    /** 是否结算 */
    @Excel(name = "是否结算")
    private String isSettle;

    private String rworkTitle;

    private String rfworkTitle;

    /** 扣款记录信息 */
    private List<SlDeduction> slDeductionList;

    public String getRworkTitle() {
        return rworkTitle;
    }

    public void setRworkTitle(String rworkTitle) {
        this.rworkTitle = rworkTitle;
    }

    public String getRfworkTitle() {
        return rfworkTitle;
    }

    public void setRfworkTitle(String rfworkTitle) {
        this.rfworkTitle = rfworkTitle;
    }

    public void setDmId(Long dmId)
    {
        this.dmId = dmId;
    }

    public Long getDmId() 
    {
        return dmId;
    }
    public void setRworkId(Long rworkId) 
    {
        this.rworkId = rworkId;
    }

    public Long getRworkId() 
    {
        return rworkId;
    }
    public void setMemberUser(String memberUser) 
    {
        this.memberUser = memberUser;
    }

    public String getMemberUser() 
    {
        return memberUser;
    }
    public void setMemberNick(String memberNick) 
    {
        this.memberNick = memberNick;
    }

    public String getMemberNick() 
    {
        return memberNick;
    }
    public void setDmTime(Date dmTime) 
    {
        this.dmTime = dmTime;
    }

    public Date getDmTime() 
    {
        return dmTime;
    }
    public void setDmUser(String dmUser) 
    {
        this.dmUser = dmUser;
    }

    public String getDmUser() 
    {
        return dmUser;
    }
    public void setDmNick(String dmNick) 
    {
        this.dmNick = dmNick;
    }

    public String getDmNick() 
    {
        return dmNick;
    }
    public void setDmAmount(BigDecimal dmAmount) 
    {
        this.dmAmount = dmAmount;
    }

    public BigDecimal getDmAmount() 
    {
        return dmAmount;
    }
    public void setRfworkId(Long rfworkId) 
    {
        this.rfworkId = rfworkId;
    }

    public Long getRfworkId() 
    {
        return rfworkId;
    }
    public void setDmReason(String dmReason) 
    {
        this.dmReason = dmReason;
    }

    public String getDmReason() 
    {
        return dmReason;
    }
    public void setIsSettle(String isSettle) 
    {
        this.isSettle = isSettle;
    }

    public String getIsSettle() 
    {
        return isSettle;
    }

    public List<SlDeduction> getSlDeductionList()
    {
        return slDeductionList;
    }

    public void setSlDeductionList(List<SlDeduction> slDeductionList)
    {
        this.slDeductionList = slDeductionList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dmId", getDmId())
            .append("rworkId", getRworkId())
            .append("memberUser", getMemberUser())
            .append("memberNick", getMemberNick())
            .append("dmTime", getDmTime())
            .append("dmUser", getDmUser())
            .append("dmNick", getDmNick())
            .append("dmAmount", getDmAmount())
            .append("rfworkId", getRfworkId())
            .append("dmReason", getDmReason())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isSettle", getIsSettle())
            .append("slDeductionList", getSlDeductionList())
            .toString();
    }
}
